This section contains some basic template functions and classes that are
used throughout the rest of the library.
Pair
The library includes a class for heterogeneous pairs of values.
public class Pair {
public Object first;
public Object second;
public Pair(Object x, Object y) {
first = x;
second = y;
}
public boolean cmp(Pair p) {
return first.equals(p.first) && second.equals(y.second);
}
}